import request from '@/utils/request'
export function registerApi (data) {
  return request.post('/user/register', data)
}

export function loginApi (data) {
  return request.post('/user/login', data)
}
